import matplotlib.pyplot as plt
import numpy as np

x = np.arange(5)
y = [25, 32, 34, 20, 25]
y_err = [2, 3, 4, 2, 3]

plt.errorbar(x, y, yerr=y_err, fmt="k,", capsize=5, capthick=2)
plt.show()
